<div id="block_query<%= query_id %>" class="mypage-box">

    <div style="float:right;margin-right:16px;z-index:500;">
      <%= link_to "", {:action => "remove_block", :block => "query#{query_id}"}, :method => 'post', :class => "close-icon" %>     
    </div>

    <div class="handle">
    <%= render :partial => "my/blocks/query", :locals => { :user => user, :query_id => query_id} %>
    </div>
</div>